<%@ include file="/common/taglibs.jsp"%>
<probiz:pageHeading pageHeadingKey="system.pay.way" />

<content tag="buttons">
	<probiz:iconBtn btnType="save" onclick="return fnDoAction(this, 'saveConfigAction');" />
	<probiz:iconBtn btnType="back" url="${ctxPath}/system/paymentMethod.html" />
</content>

<div class="top clearfix">
	<ul class="tab">
		<li class="curr"><span><fmt:message key="system.pay.way"/></span></li>
	</ul>
</div>

<div class="modify">
	<form class="mainForm" name="configForm" method="post" action="paymentMethod.html">
	<input type="hidden" name="paymentGatewayId" value="${paymentGateway.paymentGatewayId}"/>
		<table  width="100%" border="0" cellspacing="0" cellpadding="0" class="com_modi_table">
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.pay.shuo"/></h4></th>
			</tr>
			<tr>
				<th colspan="2" >
					<IMG alt="XPay" src="<c:url value="/pages/system/${paymentGateway.gatewayIcon}"/>"/>
					<ul class="intro">
						<li><fmt:message key="system.pay.please"/><a target="_blank" href="http://www.xpay.cn" style="color:red;text-decoration: underline"><fmt:message key="system.pay.yitong"/></a><fmt:message key="system.pay.notice"/></li>
						<li><fmt:message key="system.pay.she"/></li>
					</ul>
				</th>
			</tr>
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.paymentGateway.configItem"/></h4></th>
			</tr>
			
			<tr>
				<th class="label_width_1"><span><fmt:message key="system.pay.title1"/></span></th>
				<td>
					<INPUT class="inputtxt" style="width: 350px" name="tid" value="${paymentGateway.configData.tid}"/>
				</td>
			</tr>
			<tr>
				<th><span><fmt:message key="system.pay.title2"/></span></th>
				<td>
					<INPUT class="inputtxt" style="width: 350px" name="payKey" value="${paymentGateway.configData.payKey}"/>
				</td>
			</tr>
			<tr> 
				<th><span><fmt:message key="system.pay.title3"/></span></th>
				<td>
					<select name="testModel" style="width:200px" class="selecttxt">
						<option value="Y" <c:if test="${paymentGateway.configData.testModel=='Y'}">selected</c:if>><fmt:message key="system.pay.ceshi"/></option>
						<option value="N" <c:if test="${paymentGateway.configData.testModel=='N'}">selected</c:if>><fmt:message key="status.active"/></option>
					</select>
				</td>
			</tr>
			
		</table>
	</form>
</div>